createservicegroup - Ant Task |
Description
createservicegroup
Ant task creates a Service Group in an organization of Process Platform instance.
Sample Usage
The following example describes how to create a Service group WS-AppServer Test in the organization myorganization.
Add the following XML code to build.xml to run the Service group deployment silently through Ant Task.
<createservicegroup name="WS-AppServer Test" organization="myorganization" ldapRoot="cn=cordys,cn=bopcu7,o=myorg.com" override="false" ignoreWhiteSpaces="false" routingUIAlgorithm="failover" routingUIType="loadbalancing" routingNumProcessors="10000" routingAlgorithm="com.eibus.transport.routing.DynamicRouting" validationProtocol="true" validationPayload="true"> <WebserviceInterface name="cn=WS-AppServer Development Method Set,cn=Cordys WS-AppServer" namespace="http://schemas.cordys.com/WS-AppServerDevelopment/1.0" /> </createservicegroup>
Parameters
Attribute |
Description |
Type |
Required |
---|---|---|---|
name |
Name of the Service Group. |
String |
Yes |
organization |
Name of the organization. |
String |
Yes |
description |
Provide description for the Service Group. |
String |
No |
ignoreWhiteSpaces |
Provide boolean value. Default value is false. |
Boolean |
No |
routingUIAlgorithm |
Provide routing UI algorithm value. Possible values are:
|
String |
No |
routingUIType |
Provide routing UI type value. Possible values are:
|
String |
No |
routingNumProcessors |
Provide number of processor value. Default value is "10000". |
Integer |
No |
routingAlgorithm |
Provide the routing_algorithm qualified class name. Possible values are:
|
String |
No |
validationProtocol |
Provide boolean value. If set to true, the request is validated against the SOAP and Process Platform Protocol Schemas. The default value is false. |
Boolean |
No |
validationPayload |
Provide boolean value. If set to true, the request is validated against the Schema in WSDL of the Process Platform Web service operation. The default value is false. |
Boolean |
No |
authenticatorImplementation |
Provide the Authenticator implementation's qualified class name. |
String |
No |
ldapRoot |
LDAP root of the Process Platform instance. |
String |
Yes |
override |
Property to update a Service group. If set to true, the existing service group will be overwritten with the latest configuration information. Default value is set to false. |
Boolean |
No |
failOnError |
Boolean flag aborts the build when an exception occurs in this task. The default value is true. |
Boolean |
No |
Parameters for WebserviceInterface
This attribute has one nested element WebserviceInterface
which should contain details of the Web service interfaces to be attached to the Service Group. There should be at least one WebserviceInterface to attach to this Service group. This element should be repeated for every method set that needs to be attached. The attributes are explained below.
Attributes of WebserviceInterface Element
Attribute |
Description |
Type |
Required |
---|---|---|---|
name |
Provide the names of the method sets along with the package name (excluding the LDAP root). |
String |
Yes |
namespace |
Provide the namespace of the method set which should be attached to this Service Group. |
String |
Yes |